Aventura\Wprss\Core\Licensing\Manager C

Total Complexity 105
Dependencies 8
Dependents 4
Total lines 928
Lines of code 376
Logical lines of code 216
Comment lines 398
Methods 50
Properties 7

Methods 50

Method Rating Maintainability Complexity Lines of code
sendApiRequest()
A
43 10 49
api()
S
51 7 26
_normalizeLicenseOptions()
S
52 7 23
initUpdaterInstance()
S
51 4 26
isLicenseExpiring()
S
59 4 13
getLicensesWithStatus()
S
61 4 12
newUpdater()
S
58 3 14
_performOnMainSite()
S
64 3 11
sendDualApiRequest()
S
66 3 7
normalizeLicenseApiStatus()
S
72 3 5
getExpiringLicenses()
S
64 3 10
getInactiveLicenses()
S
66 3 9
getSteTimestamp()
S
65 3 9
saveLicenseStatuses()
S
62 2 11
getLicenseKeysOptionName()
S
72 2 6
saveLicenseKeys()
S
65 2 9
sanitizeApiParams()
S
79 2 3
getUpdaterClass()
S
72 2 6
getExpirationNoticePeriod()
S
70 2 7
_loadLicenses()
S
66 2 8
getLicense()
S
71 2 6
getLicenseStatusesOptionName()
S
72 2 6
getUpdaterInstance()
S
74 2 5
_getUpdaterInstance()
S
73 2 5
setLicenseKeysOptionName()
S
77 1 4
saveLicenses()
S
75 1 5
_updateOption()
S
73 1 5
getLicenseKeysDbOption()
S
79 1 3
_formatStringToDbOptionPattern()
S
77 1 3
setLicenseStatusesOptionName()
S
77 1 4
getLicenseStatusesDbOption()
S
79 1 3
_getOption()
S
73 1 5
__construct()
S
74 1 5
checkLicense()
S
79 1 3
hasUpdaterInsantance()
S
79 1 3
setUpdaterClass()
S
77 1 4
setExpirationNoticePeriod()
S
76 1 4
getDefaultAuthorName()
S
82 1 3
setDefaultAuthorName()
S
77 1 4
getAddons()
S
81 1 3
getUpdaterInstances()
S
81 1 3
_setUpdaterInstance()
S
76 1 4
_construct()
S
98 1 1
createLicense()
S
78 1 3
getLicenses()
S
82 1 3
licenseExists()
S
79 1 3
licenseWithStatusExists()
S
78 1 3
expiringLicensesExist()
S
80 1 3
activateLicense()
S
79 1 3
deactivateLicense()
S
79 1 3